package cn.com.jenson.service.user.repository;

import cn.com.jenson.common.BasicRepository;
import cn.com.jenson.entity.user.Role;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface RoleRepository extends JpaRepository<Role,Integer>, BasicRepository<Role> {
    Role findByIsAdminAndDeleted(Boolean isAdmin,Boolean deleted);
}
